package com.thundersoft.beautifulmusic.util;

import android.util.Log;

public class LogUtil {
    private static final int VERBOSE = 1;

    private static final int DEBUG = 2;

    private static final int INFO = 3;

    private static final int WARN = 3;

    private static final int ERROR = 3;

    private static int level = DEBUG;

    public static void v(String tag, String message) {
        if (level <= VERBOSE) {
            Log.v(tag, message);
        }
    }

    public static void d(String tag, String message) {
        if (level <= DEBUG) {
            Log.d(tag, message);
        }
    }

    public static void i(String tag, String message) {
        if (level <= INFO) {
            Log.i(tag, message);
        }
    }

    public static void w(String tag, String message) {
        if (level <= WARN) {
            Log.w(tag, message);
        }
    }

    public static void e(String tag, String message) {
        if (level <= ERROR) {
            Log.e(tag, message);
        }
    }

}
